﻿using System;
using System.ComponentModel.DataAnnotations;

namespace VisionCloud.Domain.DtoModel.Schedule.WorkOrder
{
    public class UploadRequestDto
    {
        /// <summary>
        /// 排查系统工单Id
        /// </summary>
        [Required] public string BpsTaskId { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        [Required] public string Version { get; set; }

        /// <summary>
        /// json文件Url
        /// </summary>
        [Required] public string JsonFile { get; set; }

        /// <summary>
        /// 测量机器人编号
        /// </summary>
        [Required] public string RobotCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 开始时间：yyyy-MM-dd HH:mm:ss
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// 结束时间：yyyy-MM-dd HH:mm:ss
        /// </summary>
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// 工单状态
        /// </summary>
        public int Status { set; get; }
    }
}
